/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package module5.exercise2.banking;

/**
 *
 * @author trang
 */
public class TestBanking {
    public static void main(String[] args) {

        Bank b =new Bank();

        b.addCustomer("Simms","Jane");
        b.addCustomer("Bryant","Owen");
        b.addCustomer("Soley","Tim");
        b.addCustomer("Soley","Maria");

        for (int i = 0; i < b.numberOfCustomers; i++) {
                 System.out.println("Customer [" + (i+1) + "] is " + b.customer[i].firstName + ", " + b.customer[i].lastName);
        }

    }

}

